package com.czk.model.state.practice;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/9 14:45
 */
public class OrderPayFail implements OrderState {
    private static OrderPayFail orderPayFail = new OrderPayFail();

    @Override
    public void updateState(OrderContext orderContext) {
        System.out.println("用户支付失败");
    }

    public static OrderPayFail instance() {
        return orderPayFail;
    }

    private OrderPayFail() {
    }
}
